<!DOCTYPE html>
<html>
  <head>
    <title>Page One</title>
    <script src="karate.js"></script>
  </head>
  <body>
    <div id="eg01">
      <input name="eg01InputName" id="eg01InputId" type="text" />
      <input id="eg01DisabledId" type="text" disabled="true" />
      <input name="eg01SubmitName" id="eg01SubmitId" type="submit" onclick="karate.setHtml('eg01DivId', karate.get('eg01InputId').value)" />
      <div id="eg01DivId"></div>
    </div>
  </body>
</html>